package com.hly.musicbackground.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 影视与用户的关联
 * */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MoviesLink {

    @TableId
    @ApiModelProperty(value = "ID",required = true)
    private int moviesLinkId;

    @ApiModelProperty(value = "用户id",required = true)
    private int userId;//用户id

    @ApiModelProperty(value = "影视id",required = true)
    private int moviesId;//影视id

    @ApiModelProperty(value = "剧集id",required = true)
    private int moviesEpisodesId;//剧集id

    @ApiModelProperty(value = "类型[foot/collect]",required = true)
    private String type;//类型

    @ApiModelProperty(value = "第几集",required = true)
    private int numEpisodes;//第几集

    @ApiModelProperty(value = "时间",required = true)
    private Date updateTime;//时间
}
